<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Smart Choice <?php echo $title; ?></title>

        <?php
        $this->layouts->print_js();
        $this->layouts->print_css();
        ?>

    </head>

    <body>

        <div id="wrapper">

            <div id="lazy_log_in">

                <?php
                $img_properties = array(
                    'src' => get_image_path() . 'layout/twt_icon.png',
                    'alt' => ''
                );
                $img = img($img_properties);

                echo anchor('main/login_with_twitter', $img);
                ?>
            </div>

            <div id="banner">
                <form action="<?php echo base_url(); ?>main/login" method="post">
                    <p>Login: 
                        <input type="text" name="email" /> Password: <input type="password" name="password" /> <input type="submit" value="Login" /> </p>
                </form>
            </div>

            <?php
            render_partial('menu');
            render_partial('sidebar');
            ?>

            <div id="content">
                <?php echo $content; ?>
            </div>

            <?php
            render_partial('bottom');
            render_partial('footer');
            ?>

        </div>
    </body>
</html>
